Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hermes): add metrics #1105

Merged
merged 1 commit into from
Oct 18, 2023
Merged

feat(hermes): add metrics #1105

merged 1 commit into from
Oct 18, 2023

Conversation

ali-bahjati
Copy link
Collaborator

No description provided.

@ali-bahjati ali-bahjati requested a review from Reisen October 17, 2023 16:53
@vercel
Copy link

vercel bot commented Oct 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2023 1:02pm
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2023 1:02pm

pub addr: SocketAddr,
#[arg(default_value = DEFAULT_RPC_LISTEN_ADDR)]
#[arg(env = "RPC_LISTEN_ADDR")]
pub listen_addr: SocketAddr,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these were not matching the cli args

Comment on lines -52 to -66
# Setup LibP2P. Unfortunately the dependencies required by libp2p are shared
# with the dependencies required by many Solana components. This means that we
# would have to use the same version of libp2p as solana. Luckily we don't need
# to worry about this until we want to hoist the libp2p portion of Hermes into
# Rust land.
libp2p = { version = "0.42.2", features = [
"gossipsub",
"identify",
"mplex",
"noise",
"secp256k1",
"websocket",
"yamux",
]}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used anymore

Copy link
Contributor

@Reisen Reisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

hermes/src/aggregate/metrics.rs Outdated Show resolved Hide resolved
@ali-bahjati ali-bahjati merged commit 9da6410 into main Oct 18, 2023
2 checks passed
@ali-bahjati ali-bahjati deleted the hermes/add-metrics branch October 18, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants